package boot.spring.设计模式.桥接模式;


public class Rectangle extends Shape {
    private double x1 = 0d,   x2 = 0d,   y1 = 0d,   y2 = 0d;
    Rectangle(Drawing _dp, double x1, double x2, double y1, double y2) {
        super(_dp);
    }

    public void draw(){
        drawLine(x1,x2, y1 ,y2);
    }
}
